Skip to content

feat: share placement requirements validation#21

Merged
intel352 merged 1 commit into
mainfrom
refactor/placement-requirements-core
May 25, 2026
Merged

feat: share placement requirements validation#21
intel352 merged 1 commit into
mainfrom
refactor/placement-requirements-core

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Summary

  • Add core placement requirement capability DTOs and provider capability report status constants.
  • Add ValidatePlacementRequirementsAgainstCapabilities for capability tags, executor provider/tier/proof support, provider report status, and explicit executor matching.
  • Add ExecutorCapabilitiesHaveSupportedMatch for shared executor matching with provider report awareness.

Verification

  • RED: GOWORK=off go test ./protocol -run TestValidatePlacementRequirementsAgainstCapabilities -count=1 failed before implementation with missing API symbols.
  • GOWORK=off go test ./protocol -run TestValidatePlacementRequirementsAgainstCapabilities -count=1
  • git diff --check
  • GOWORK=off go test ./... -count=1

Adversarial Review

  • Hardware class and attestation matching remains in workflow-compute for now because it depends on richer host hardware state.
  • Generic placement requirement matching is now core-owned so plugins can share the same capability semantics.
  • Existing error strings are preserved to avoid scheduler/admission behavior drift.

@intel352 intel352 merged commit 45c48f9 into main May 25, 2026
4 checks passed
@intel352 intel352 deleted the refactor/placement-requirements-core branch May 25, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant